export default `/*自定义样式，实时生效*/

/**全局设置**/
#nice {
  font-size: 16px;
  margin: 20px 0;
  background-color: #FFFBF0; /* Light cream background */
  color: #333;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #D50000; /* Festive red border */
}

#nice p {
  line-height: 1.8;
  font-size: 16px;
  margin: 8px 0;
}

#nice a {
  color: #D50000; /* Festive red */
  border-bottom: 1px solid #D50000;
  text-decoration: none;
  font-weight: normal;
}

#nice a:hover {
  color: #FF6D00; /* Orange-red */
  border-bottom: 1px solid #FF6D00;
}

/**TOC**/
#nice .table-of-contents {
  background-color: rgba(213, 0, 0, 0.05); /* Very light red background */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #D50000;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path d="M20,20 L80,20 L80,80 L20,80 Z" stroke="%23D50000" fill="none" stroke-width="2"/></svg>');
  background-size: 20px 20px;
}

#nice .table-of-contents::before {
  content: "文章目录";
  color: #D50000; /* Festive red */
  font-weight: bold;
  font-size: 20px;
}

#nice .table-of-contents li {
  font-size: 16px;
}

#nice .table-of-contents a {
  color: #333;
  border-bottom: none;
}

/**图片**/
#nice img {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 6px;
  margin: 18px auto;
}

#nice figcaption,
#nice .imageflow-caption {
  font-size: 12px;
  margin-bottom: 12px;
  margin-top: 2px;
  color: #666;
  font-weight: normal;
}

/**标题**/
#nice h1,
#nice h2,
#nice h3,
#nice h4,
#nice h5,
#nice h6 {
  margin: 30px auto 20px;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

#nice h1 {
  font-size: 28px;
  text-align: center;
  color: #D50000; /* Festive red */
  padding: 15px;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
  border-radius: 8px;
  border: 1px solid #FFD700; /* Gold border */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" opacity="0.1"><path d="M0,20 L40,20 M20,0 L20,40" stroke="%23D50000" stroke-width="2"/></svg>');
  background-position: 0 0;
}

#nice h2 {
  font-size: 24px;
  color: #FFFFFF;
  background-color: #D50000; /* Festive red */
  padding: 8px 15px;
  border-radius: 6px;
  border-bottom: 2px solid #B71C1C; /* Darker red */
}

#nice h3 {
  font-size: 22px;
  color: #D50000; /* Festive red */
  padding-left: 10px;
  border-left: 3px solid #FFD700; /* Gold accent */
}

#nice h4 {
  font-size: 20px;
  color: #FF6D00; /* Orange-red */
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid #D50000; /* Festive red */
}

#nice h5,
#nice h6 {
  font-size: 18px;
  color: #333;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
  padding: 5px 10px;
  border-radius: 5px;
}

/**列表**/
#nice > ul, 
#nice > ol {
  margin-top: 18px;
  margin-bottom: 18px;
}

#nice ul {
  list-style-type: disc;
}

#nice ul li::marker {
  color: #D50000; /* Festive red bullet points */
}

#nice ol {
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 6px;
  padding: 10px 36px;
  background-color: rgba(255, 215, 0, 0.05); /* Very light gold background */
}

#nice > ul > li, 
#nice > ol > li {
  margin: 10px 0;
}

/**引用**/
#nice blockquote {
  color: #333;
  border-left: 3px solid #D50000; /* Festive red left border */
  position: relative;
  background-color: rgba(255, 215, 0, 0.05); /* Very light gold background */
  border-radius: 4px;
  padding: 10px 16px;
  margin: 18px auto;
}

#nice blockquote p {
  font-size: 16px;
}

#nice blockquote::before {
  font-family: Arial;
  content: "“";
  color: #D50000; /* Festive red */
  font-size: 30px;
  font-weight: bold;
  display: block;
  height: 20px;
}

/** 行内代码 **/
#nice p code, 
#nice li code {
  padding: 2px 4px;
  font-size: 90%;
  color: #D50000; /* Festive red text */
  background-color: #FFF9E6;
  border-radius: 4px;
  border: 1px solid #FFECB3;
}

#nice pre {
  margin: 18px 8px;
  border-radius: 6px;
  border: 1px solid #FFD700; /* Gold border */
  background-color: #FFFBF0;
}

#nice pre code {
  border-radius: 5px;
}

/**表格**/
#nice table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #D50000; /* Festive red border */
  border-radius: 6px;
  overflow: hidden;
}

#nice table tr th {
  background-color: rgba(213, 0, 0, 0.8); /* Slightly transparent red */
  color: #FFFFFF;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #B71C1C; /* Darker red */
}

#nice table tr:nth-child(odd) {
  background-color: rgba(255, 215, 0, 0.1); /* Very light gold */
}

#nice table tr:nth-child(even) {
  background-color: #FFFFFF;
}

#nice table tr td {
  font-size: 15px;
  padding: 8px 10px;
  border: 1px solid #FFE082;
}

/**分隔线**/
#nice hr {
  height: 2px;
  background: linear-gradient(to right, #D50000, #FFD700); /* Red to gold gradient */
  border: none;
  margin: 20px 0;
}

/**参考资料**/
#nice .footnotes-sep {
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #D50000; /* Festive red */
}

#nice .footnotes-sep:before {
  content: "参考资料";
  display: block;
}

/** 文章结尾 **/
#nice:after{
  content:'<img src="https://www.xugj520.cn/wp-content/uploads/2025/04/扫码_搜索联合传播样式-标准色版-300x109.png" />';
  font-size:10px;
  display:block;
  text-align:center;
  margin-top:50px;
  color:#999;
  border-bottom:1px solid #eee;
}

`;